//
//  discoverAddCell.m
//  Focus
//
//  Created by xwc on 14-10-28.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "discoverAddCell.h"

@implementation discoverAddCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        UILabel *titleLable = [[UILabel alloc] init];
        self.titleLable = titleLable;
        [titleLable release];
        [self.contentView addSubview:self.titleLable];
        
        
        self.markButton = [UIButton buttonWithType:UIButtonTypeSystem];
        [self.contentView addSubview:self.markButton];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.titleLable.frame = CGRectMake(20, 10, 200, 40);
    self.markButton.frame = CGRectMake(260, 0, 60, 60);
}

- (void)dealloc
{
    [_titleLable release];
    [_markButton release];
    [super dealloc];
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
